<?php

class My_Controller extends CI_Controller {

    public function __construct() {
        parent::__construct();                
        $data = array();
        $this->load->library('template');
        $this->template->set_template('default');
        
        // Add DocType
        $this->template->add_doctype();
        
        // Parse data into view 
        $this->template->parse_view('top','default/block/top',$data);
        $this->template->parse_view('menu','default/block/menu',$data);
        $this->template->parse_view('left','default/block/left',$data);        
        $this->template->parse_view('right','default/block/right',$data);
        $this->template->parse_view('bottom','default/block/bottom',$data);
    }
}